From: Florian Müllner Date: Thu, 18 Aug 2022 08:28:23 +0000 (+0200) Subject: quickSettings: Fix slider accessibility X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~452^2^2~51 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b7d738dfffab07f84649b647ea9ce639f37079a4;p=gnome-shell.git quickSettings: Fix slider accessibility Since we put the actual slider into a bin to get a proper focus indication, the slider isn't focused anymore and its accessible object is therefore invisible to the screen reader. Fix this by passing the slider's accessible object to the actor that takes the focus. Part-of: --- diff --git a/js/ui/quickSettings.js b/js/ui/quickSettings.js index 50dbf6f35..faa87601f 100644 --- a/js/ui/quickSettings.js +++ b/js/ui/quickSettings.js @@ -195,6 +195,7 @@ var QuickSlider = GObject.registerClass({ }); box.add_child(sliderBin); + sliderBin.set_accessible(this.slider.get_accessible()); sliderBin.connect('event', (bin, event) => this.slider.event(event, false)); this._menuButton = new St.Button({